<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>背景图像</title>
    <style>
        div{
            width: 1024px;
            height: 768px;
            background-image: url(../img/程序员头像.jpg);
        }
    </style>
</head>
<body>
    <div></div>
</body>
</html>